<?php

namespace app\student\controller;

use app\student\model\studentBaseModel;

//继承构造函数
class StudentBase extends StudentLogin
{
    public function studentBase()
    {
        $report['s_id'] = session('s_name.id');

        $student = studentBaseModel::selectReport($report);
        //$student = session('s_name');
         //var_dump($student);

        $this->assign('student',$student);
       return $this->fetch('Login/studentBase');
    }

}